package com.ming.service.impl;

import com.ming.mapper.CarMapper;
import com.ming.pojo.Car;
import com.ming.service.CarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarServiceImpl implements CarService {

    @Autowired
    CarMapper carMapper;

    @Override
    public List<Car> carList() {
        return carMapper.carList();
    }
}
